<include file="public/min-header"/>
<link href="__PUBLIC__/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/plugins/daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>

<div class="wrapper">

    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">

            <div class="panel panel-default">
                <div class="panel-body ">   
                    <!--表单数据-->
                    <form method="post" id="handle_shop">

                        <!--通用信息-->
                    <div class="tab-content col-md-10">                 	  
                        <div class="tab-pane active" id="tab_tongyong">                           
                            <table class="table table-bordered">
                                <tbody>


                                <tr>
                                    <td class="col-sm-2"><span style="color:#F00;">*</span>操作内容</td>
                                    <td class="col-sm-8">
                                        <input type="text" class="form-control" name="content" placeholder="请备注订单操作内容">
                                    </td>
                                </tr>


                                </tbody> 
                                <tfoot>
                                	<tr>
                                        <td>
                                            <input type="hidden" name="orderCourseId" value="{$orderCourseId}">
                                        </td>
                                	    <td class="text-right"><input class="btn btn-primary" type="button" onclick="shop_submit()" value="保存"></td>
                                    </tr>
                                </tfoot>                               
                            </table>
                        </div>                           
                    </div>              
			    	</form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>

<div class="wrapper">
<!--    <include file="public/breadcrumb"/>-->
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">

            <div class="panel panel-default">
                <div class="panel-body ">

                    <table class="table table-striped">
<!--                        <caption></caption>-->
                        <thead>
                        <tr>
                            <th>时间</th>
                            <th>操作人</th>
                            <th>操作内容</th>
                        </tr>
                        </thead>
                        <tbody>

                        <volist name="orderLog" id="orderLog">
                            <tr>
                                <td>{:date('Y-m-d', $orderLog.logAddTime)}</td>
                                <td>{$orderLog.logName}</td>
                                <td>{$orderLog.logContent}</td>
                                <td>
                                    <a href="javascript:;" onclick="delfunc(this)" data-url="{:url('order/delOrderCourseLog')}" data-id="{$orderLog.orderCourseLogId}"  class="btn btn-danger" title="删除"><i class="fa fa-trash-o"></i></a>
                                </td>
                            </tr>
                        </volist>


                        </tbody>
                    </table>

                </div>
            </div>
        </div>
    </section>
</div>




<script>
function shop_submit(){
    ajax_form_submit2("handle_shop", "{:url('order/doOrderCourseNote')}");
}
</script>
 </body>
 </html>